home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / iterat31.zip / ITERATE!.FRM < prev    next >
Text File  |  1993-09-19  |  490b  |  23 lines

  1. ;Iterate! formula file
  2. ;by Brent Hugh
  3. ;parameter and window defaults
  4. a=1 
  5. b=.5      
  6. c=1 
  7. d=.5
  8. mu=0
  9. xmin=-10 
  10. xmax=10
  11. ymin=-10
  12. ymax=10 
  13.  
  14. ;randomwalk function 
  15. x=x + a*rn - b
  16. y=y + c*rn - d
  17.  
  18. ;compare to Function A with parameters a=b=6 c=d=1
  19. ;Function A is completely deterministic and this function is random--
  20. ;yet both functions look the same!
  21. ;(Actually, random number generators on computers are done with iterated
  22. ;functions, too, but let's not get into that.) 
  23.